pub fn dp_rec_mc(mut amount: u32) -> u32 {
    let mut ans = 0;
    for num in [100, 50, 30, 20, 10, 5, 2, 1] {
        ans += amount / num;
        amount %= num;
    }
    ans
}
